.wrapper {
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-2);
  background-color: var(--pane-background);
  border-bottom: 1px solid var(--global-border);
}

.tabsList {
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  height: 100%;
  padding-top: var(--spacing-2);
}

.tab {
  position: relative;
  height: 40px;
  color: var(--global-foreground);
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  transition: background-color var(--default-hover-animation-duration)
    var(--default-timing-function);
}

.tab::before,
.tab::after {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  content: '';
  background-color: transparent;
  mask-mode: alpha;
  mask-repeat: no-repeat;
}

.tab::before {
  left: -4px;
  mask-image: radial-gradient(
    circle 4px at top left,
    transparent 0 4px,
    black 4px 100%
  );
}
.tab::after {
  right: -4px;
  mask-image: radial-gradient(
    circle 4px at top right,
    transparent 0 4px,
    black 4px 100%
  );
}

.tab:hover,
.tab:hover::before,
.tab:hover::after,
.tab[data-state='active'],
.tab[data-state='active']::before,
.tab[data-state='active']::after {
  background-color: var(--pane-background-active);
}

.tab:disabled,
.tab:disabled:hover,
.tab:disabled::before,
.tab:disabled::after,
.tab[aria-disabled='true'],
.tab[aria-disabled='true']:hover,
.tab[aria-disabled='true']::before,
.tab[aria-disabled='true']::after {
  background-color: transparent;
}

.erdSchemaTabsGroup {
  display: flex;
  gap: var(--spacing-1);
  align-items: center;
  padding: var(--spacing-1half);
}

.erdSchemaTabsGroup:not([aria-disabled='true'])[data-state='active'] {
  background-color: var(--pane-background-active);
}

.erdSchemaTabs {
  display: flex;
  gap: var(--spacing-1);
  align-items: center;
  height: 100%;
}

.erdSchemaTrigger {
  height: 100%;
  padding: 0 var(--spacing-2);
  font-size: var(--font-size-4);
  color: var(--global-foreground);
  border-radius: var(--border-radius-base);
  transition: background-color var(--default-hover-animation-duration)
    var(--default-timing-function);
}

.erdSchemaTrigger:hover,
.erdSchemaTrigger[data-state='active'] {
  background-color: var(--button-background-hover);
}

.erdSchemaTrigger:disabled {
  color: var(--button-disabled-foreground);
  background-color: transparent;
}

.divider {
  width: 1px;
  height: 1rem;
  background-color: var(--overlay-10);
}

.artifactTrigger {
  padding: 0 var(--spacing-3);
  font-size: var(--font-size-4);
  line-height: 1;
  color: var(--global-foreground);
}

.artifactTrigger:disabled {
  color: var(--button-disabled-foreground);
}

.tail {
  display: flex;
  gap: var(--spacing-2);
  align-items: center;
  height: 100%;
  padding: var(--spacing-2) 0;
}
